import FhRequest from './index'
// 热门搜索列表
export function getSearchHot() {
	return FhRequest.get('/search/hot')
}

// 搜索建议(输入值进行搜索)
export function getSearchSuggest(keywords) {
	return FhRequest.get('/search/suggest', {
		keywords,
		type: 'mobile'
	})
}

// 点击enter进行搜索
export function getSearchResult(keywords) {
	return FhRequest.get('/search', {
		keywords
	})
}